filechooser: When stopping/clearing BROWSE model, really ensure that we end up in...
authorFederico Mena Quintero <federico@gnome.org>
Thu, 21 Feb 2013 00:02:24 +0000 (18:02 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Thu, 21 Feb 2013 02:09:08 +0000 (20:09 -0600)
commit2deb41fe63d7b03e1fe5a8cc909acfdde68d5c7e
tree4418fd10625416365c6528fb6215def8acab3d5f
parent039cc929ad6e65c9d2b7fb3f9d6a48347fe4c46e
filechooser: When stopping/clearing BROWSE model, really ensure that we end up in LOAD_EMPTY state

Previously we could end up in a situation where browse_list_model==NULL, and yet load_state==LOAD_FINISHED.
This is not a valid state.  So, when we get rid of the list model, really ensure that we end up
in LOAD_EMPTY so nothing assumes that there is a valid list model around.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserdefault.c